package javase.module2.task05;

public class DirectionTest {
    public static void main(String[] args) {
//        Direction.RIGHT = "xia";
        Direction d1 = Direction.UP;
        System.out.println(Direction.UP.getDesc());
        System.out.println(d1.getDesc());
        System.out.println("============================");
        DirectionEnum d2 = DirectionEnum.DOWN;
        System.out.println(DirectionEnum.DOWN.getDesc());
    }
}
